﻿<%@ OutputCache Location="None" %>
<%@ Register TagPrefix="cc1" Namespace="BEGDC.CC.Web.Control" Assembly="ASBCC.Web" %>

<%@ Page Language="c#" CodeBehind="CISSearchForCV.aspx.cs" AutoEventWireup="false"
    Inherits="BEGDC.CC.Web.Common.CISSearchForCV" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <title>Customer Infomation System</title>
    <base target="_self" />
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
    <link href="../css/global.css" rel="stylesheet" type="text/css" />
    <link href="../css/style_fu.css" rel="stylesheet" type="text/css" />

    <script language="JavaScript" src="../js/common.js" type="text/javascript"></script>

    <script language="javascript" type="text/javascript">

        //-->For make radio buttons act as a group
        var flag = 0;
        var lastObj;

        function CancelSelect(obj) {

            if (flag == 0) {
                lastObj = obj;
                flag += 1;
            }
            else {
                if (lastObj.id != obj.id) {
                    lastObj.checked = false;
                    lastObj = obj;
                }
            }
        }

        function OnSave() {
            if (!window.confirm(SaveInfo)) { event.returnValue = false; }
        }
        function OnDelete() {
            if (!window.confirm(DeleteItem)) { event.returnValue = false; }
        }
        function OnClose() {
            window.close();
            window.returnValue = 'close';
        }
    </script>

</head>
<body>
    <form id="Form1" method="post" runat="server">
    			<h3 class="ev-header-section">
            &nbsp;Customer Infomation System</h3>

    <table cellspacing="0" cellpadding="0" width="100%" border="0">
        <!--DWLayoutTable-->
       <%-- <tr>
            <td class="HeadLine" style="border-bottom: #eeeeee 1px solid; height: 35px" valign="middle"
                height="35">
                &nbsp;<img src="../images/item.gif" border="0" alt="" />&nbsp;
            </td>
        </tr>--%>
        <tr class="ev-row2">
            <td>
                <asp:DataGrid ID="DG_CustomerList" runat="server" PagerStyle-Visible="False" PageSize="5"
                    AllowPaging="True" AutoGenerateColumns="False" Width="98%" CssClass="tablestyle">
                    <AlternatingItemStyle></AlternatingItemStyle>
                    <ItemStyle CssClass="tbody"></ItemStyle>
                    <HeaderStyle CssClass="thead"></HeaderStyle>
                    <Columns>
                        <asp:TemplateColumn>
                            <ItemTemplate>
                                <asp:RadioButton ID="CB_CIS" runat="server" onclick="javascript:CancelSelect(this);">
                                </asp:RadioButton>
                            </ItemTemplate>
                        </asp:TemplateColumn>
                        <asp:BoundColumn DataField="Name" HeaderText="Name<br />客户姓名"></asp:BoundColumn>
                        <asp:BoundColumn DataField="Title" HeaderText="Title<br />职务"></asp:BoundColumn>
                        <asp:BoundColumn DataField="Company" HeaderText="Company<br />公司"></asp:BoundColumn>
                        <asp:BoundColumn DataField="Effects" HeaderText="Effects<br />效果">
                            <ItemStyle Width="150px"></ItemStyle>
                        </asp:BoundColumn>
                        <asp:BoundColumn DataField="Country" HeaderText="Country<br />国家"></asp:BoundColumn>
                        <asp:BoundColumn DataField="Province" HeaderText="Province<br />省"></asp:BoundColumn>
                        <asp:BoundColumn Visible="False" DataField="Gender" HeaderText="Gender"></asp:BoundColumn>
                    </Columns>
                    <PagerStyle Visible="False"></PagerStyle>
                </asp:DataGrid>
            </td>
        </tr>
        <tr class="ev-row2">
            <td align="right" class="padding5">
                <asp:ImageButton ID="btnPageFirst" runat="server" ImageUrl="../images/pg_first_inact.gif"
                    ImageAlign="AbsMiddle"></asp:ImageButton>&nbsp;
                <asp:ImageButton ID="btnPagePrev" runat="server" ImageUrl="../images/pg_pre_inact.gif"
                    ImageAlign="AbsMiddle"></asp:ImageButton>&nbsp;
                <asp:ImageButton ID="btnPageNext" runat="server" ImageUrl="../images/pg_next_inact.gif"
                    ImageAlign="AbsMiddle"></asp:ImageButton>&nbsp;
                <asp:ImageButton ID="btnPageLast" runat="server" ImageUrl="../images/pg_last_inact.gif"
                    ImageAlign="AbsMiddle"></asp:ImageButton>&nbsp; &nbsp;&nbsp;
            </td>
        </tr>
        <tr class="ev-row2">
            <td class="padding5 ac">
						<button class="btn">Save</button>
                	    <button class="btn">Close</button>
                <asp:ImageButton ID="Btn_Save" runat="server"></asp:ImageButton>&nbsp;
                <asp:ImageButton ID="Btn_Close" runat="server" Visible="False"></asp:ImageButton>
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
